package com.zx.onlineeducation.service.edu.entity.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * 课程基本信息 视图 实体类
 *
 * @author 郑雪
 * @since 2022-01-13
 */
@Data
@ApiModel(value = "CourseInfoVO", description = "课程基本信息视图对象")
public class CourseInfoVO implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("课程ID")
    private String id;

    @ApiModelProperty("课程讲师ID")
    private String teacherId;

    @ApiModelProperty("课程讲师姓名")
    private String teacherName;

    @ApiModelProperty("课程类别ID")
    private String subjectId;

    @ApiModelProperty("课程类别名称")
    private String subjectTitle;

    @ApiModelProperty("课程类别父级ID")
    private String subjectParentId;

    @ApiModelProperty("课程类别父级名称")
    private String subjectParentTitle;

    @ApiModelProperty("课程标题")
    private String title;

    @ApiModelProperty("课程销售价格，设置为0则可免费观看")
    private BigDecimal price;

    @ApiModelProperty("总课时")
    private Integer lessonNum;

    @ApiModelProperty("课程封面图片路径")
    private String cover;

    @ApiModelProperty("课程简介")
    private String description;
}
